
<form action="/gen/step2" method="post"
	class="form-horizontal col-md-6 col-md-offset-1">
	<div class="control-group">
		<h5> &nbsp;请选择需要生成代码的数据表</h5>
		<div class="controls" style="margin-top:10px;">
			<select name="name" class="form-control">
				<option th:each="dict:${tableList}" th:value="${dict.name}"
					th:text="${dict.nameAndComments}"></option>
			</select>
		</div>
		 
	</div>
</form>
<script type="text/javascript">
  $('select').select2();
</script>